package com.bristua.user.dao;

import com.bristua.user.model.TAdminUser;
import com.bristua.user.model.condition.TAdminUserExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TAdminUserMapper {
    int countByExample(TAdminUserExample example);

    int deleteByExample(TAdminUserExample example);

    int deleteByPrimaryKey(String userId);

    int insert(TAdminUser record);

    int insertSelective(TAdminUser record);

    List<TAdminUser> selectByExample(TAdminUserExample example);

    TAdminUser selectByPrimaryKey(String userId);

    int updateByExampleSelective(@Param("record") TAdminUser record, @Param("example") TAdminUserExample example);

    int updateByExample(@Param("record") TAdminUser record, @Param("example") TAdminUserExample example);

    int updateByPrimaryKeySelective(TAdminUser record);

    int updateByPrimaryKey(TAdminUser record);
}